﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BookStore
{
    class Buklet:StoreObject
    {
        public string author { get; set; }
        public override string name
        {
            get
            {
                return this.brand;
            }
        }
        public override string ToString()
        {
            return
                base.ToString() +
                "\nАвтор: " + this.author;
        }
        public override string ToStringForFile()
        {
            return base.ToStringForFile() + '$' + this.author;
        }
    }
}
